<?php
	session_start();
	if(isset($_SESSION['login'])){
		$_SESSION['menu'] = "แก้ไขข้อมูลส่วนตัว";
		$_SESSION['link_menu'] = "edit.php";
		$_SESSION['menu2'] = "จองตั๋วโดยสาร";
		$_SESSION['link_menu2'] = "lendticket.php";
	} else {
		$_SESSION['menu'] = 'สมัครสมาชิก';
		$_SESSION['link_menu'] = 'register.php';
		$_SESSION['menu2'] = "เข้าสู่ระบบ";
		$_SESSION['link_menu2'] = "index.php";
	}
?>